package org.example.route.service;

import org.example.route.model.dto.BaseRequest;
import org.example.route.model.dto.StatisticIncomeDTO;
import org.example.route.model.vo.OrderShowVO;
import org.example.route.model.vo.OrderStatisticVO;

import java.util.List;

public interface OrderService {
    /**
     *
     * 列举订单
     *
     *
     * **/
    List<OrderShowVO> list();


    /**
     *
     * 取消订单
     *
     * **/
    void cancel(BaseRequest baseRequest);

    /**
     * 统计收入数据
     **/
    OrderStatisticVO totalIncome(StatisticIncomeDTO statisticIncomeDTO);
}
